[INFO] cloning repository https://github.com/km-tr/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/km-tr/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 965bd57ff9b3f6c6e9cd16f6e5f779de68ce1f5f
[INFO] checking km-tr/rustlings against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkm-tr%2Frustlings" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/km-tr/rustlings on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/km-tr/rustlings
[INFO] finished tweaking git repo https://github.com/km-tr/rustlings
[INFO] tweaked toml for git repo https://github.com/km-tr/rustlings written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded escargot v0.5.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e218c70abce1c14a0985fbc587dc53f5e6cdcaa59f507f086e0a1c597a87e7da
[INFO] running `Command { std: "docker" "start" "-a" "e218c70abce1c14a0985fbc587dc53f5e6cdcaa59f507f086e0a1c597a87e7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e218c70abce1c14a0985fbc587dc53f5e6cdcaa59f507f086e0a1c597a87e7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e218c70abce1c14a0985fbc587dc53f5e6cdcaa59f507f086e0a1c597a87e7da", kill_on_drop: false }`
[INFO] [stdout] e218c70abce1c14a0985fbc587dc53f5e6cdcaa59f507f086e0a1c597a87e7da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a991792da580403ac97fc6abf0f029e7f4e0d5eef7b731fcb50176363941a5c
[INFO] running `Command { std: "docker" "start" "-a" "4a991792da580403ac97fc6abf0f029e7f4e0d5eef7b731fcb50176363941a5c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]    Compiling serde_derive v1.0.145
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]    Compiling escargot v0.5.7
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking once_cell v1.15.0
[INFO] [stderr]     Checking tests_intro v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests/Intro)
[INFO] [stderr]     Checking times_two_tests v0.1.0 (/opt/rustwide/workdir/Writing Automated Tests/Tests Test/Times Two Tests)
[INFO] [stderr]     Checking returning_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Returning Result)
[INFO] [stderr]     Checking result1 v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Result)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> Recoverable and Unrecoverable Errors/Error Handling/Returning Result/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> Recoverable and Unrecoverable Errors/Error Handling/Result/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking matching_result v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Matching Result)
[INFO] [stderr]     Checking iterator3 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Iterator)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking errorsn v0.1.0 (/opt/rustwide/workdir/Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors)
[INFO] [stderr]     Checking iterators4 v0.1.0 (/opt/rustwide/workdir/Iterators and Closures/Standard Library Types/Factorial)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking calculate_price v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/Variables and Functions Test/Calculate Price)
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> Writing Automated Tests/Tests/Intro/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Rectangle {
[INFO] [stdout]   |        --------- fields in this struct
[INFO] [stdout] 3 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 4 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `can_hold` is never used
[INFO] [stdout]  --> Writing Automated Tests/Tests/Intro/src/lib.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn can_hold(&self, other: &Rectangle) -> bool {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking if_task v0.1.0 (/opt/rustwide/workdir/Common Programming Concepts/If/If Task)
[INFO] [stdout] error: expected identifier, found `?`
[INFO] [stdout]  --> Recoverable and Unrecoverable Errors/Error Handling/Multiple Errors/src/lib.rs:6:82
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn read_and_validate(b: &mut io::BufRead) -> Result<PositiveNonzeroInteger, ???> {
[INFO] [stdout]   |                                                                                  ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `errorsn` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> Iterators and Closures/Standard Library Types/Factorial/src/lib.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn factorial(num: u64) -> u64 {
[INFO] [stdout]   |        ---------              ^^^ expected `u64`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout] help: consider returning the local binding `num`
[INFO] [stdout]   |
[INFO] [stdout] 1 ~ pub fn factorial(num: u64) -> u64 {
[INFO] [stdout] 2 +     num
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iterators4` due to 2 previous errors
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> Common Programming Concepts/Variables and Functions Test/Calculate Price/src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> Iterators and Closures/Standard Library Types/Iterator/src/lib.rs:15:34
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn divide(a: i32, b: i32) -> Result<i32, DivisionError> {
[INFO] [stdout]    |        ------                    ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<i32, DivisionError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> Common Programming Concepts/If/If Task/src/lib.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |        ------                    ^^^ expected `i32`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout] note: consider returning one of these bindings
[INFO] [stdout]  --> Common Programming Concepts/If/If Task/src/lib.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn bigger(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |               ^       ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `if_task` due to 2 previous errors
[INFO] [stderr] error: could not compile `iterator3` due to 2 previous errors
[INFO] [stdout] error[E0369]: cannot multiply `Result<i32, ParseIntError>` by `{integer}`
[INFO] [stdout]  --> Recoverable and Unrecoverable Errors/Error Handling/Matching Result/src/lib.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 |     Ok(qty * cost_per_item + processing_fee)
[INFO] [stdout]   |        --- ^ ------------- {integer}
[INFO] [stdout]   |        |
[INFO] [stdout]   |        Result<i32, ParseIntError>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `matching_result` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "4a991792da580403ac97fc6abf0f029e7f4e0d5eef7b731fcb50176363941a5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a991792da580403ac97fc6abf0f029e7f4e0d5eef7b731fcb50176363941a5c", kill_on_drop: false }`
[INFO] [stdout] 4a991792da580403ac97fc6abf0f029e7f4e0d5eef7b731fcb50176363941a5c
